package com.longrise.android.byjk.model;

/**
 * Created by xkj on 2016/3/14.
 * 下载详情的bean
 */
public class DownloadedDetailBean {
    //正在下载的状态
    public static final int DOWNLOADING = 0;
    //暂停状态
    public static final int STOP = 1;
    //下载完成
    public static final int FINISH = 2;
     //网络地址
    private String url;
    //视频本地的不完整地址
    private String partPath;
    //状态值
    private int status;
    //章节名称
    private String chapterName;
    //课程名称
    private String cwName;
    //本地完整的缓存地址
    private String cachepath;
    //视频总大小
    private float totalLength;
    //item是否被选择
    private boolean isChecked;
    //课件id
    private String cwId ;
    //章节id
    private String chapterId;
    //该视频在列表中的位置
    private int position;
    //当前课件是否通过(包含课后练习题)
    private boolean isfinish;
    //当前视频是否通过
    private boolean videopass;
    //是否有课后练习题
    private boolean hasqa;
    //当前节点编号
    private String pathnojd;

    public String getPathnojd() {
        return pathnojd;
    }

    public void setPathnojd(String pathnojd) {
        this.pathnojd = pathnojd;
    }


    public boolean isfinish() {
        return isfinish;
    }

    public void setIsfinish(boolean isfinish) {
        this.isfinish = isfinish;
    }

    public boolean isVideopass() {
        return videopass;
    }

    public void setVideopass(boolean videopass) {
        this.videopass = videopass;
    }

    public boolean isHasqa() {
        return hasqa;
    }

    public void setHasqa(boolean hasqa) {
        this.hasqa = hasqa;
    }




    public int getPosition() {
        return position;
    }

    public void setPosition(int position) {
        this.position = position;
    }

    public String getChapterId() {
        return chapterId;
    }

    public void setChapterId(String chapterId) {
        this.chapterId = chapterId;
    }

    public String getCwId() {
        return cwId;
    }

    public void setCwId(String cwId) {
        this.cwId = cwId;
    }

    public boolean isChecked() {
        return isChecked;
    }

    public void setIsChecked(boolean isChecked) {
        this.isChecked = isChecked;
    }

    public float getTotalLength() {
        return totalLength;
    }

    public void setTotalLength(float totalLength) {
        this.totalLength = totalLength;
    }

    public String getCachepath() {
        return cachepath;
    }

    public void setCachepath(String cachepath) {
        this.cachepath = cachepath;
    }

    public String getChapterName() {
        return chapterName;
    }

    public void setChapterName(String chapterName) {
        this.chapterName = chapterName;
    }

    public String getCwName() {
        return cwName;
    }

    public void setCwName(String cwName) {
        this.cwName = cwName;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getPartPath() {
        return partPath;
    }

    public void setPartPath(String partPath) {
        this.partPath = partPath;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    @Override
    public String toString() {
        return "DownloadedDetailBean{" +
                "url='" + url + '\'' +
                ", partPath='" + partPath + '\'' +
                ", status=" + status +
                ", chapterName='" + chapterName + '\'' +
                ", cwName='" + cwName + '\'' +
                ", cachepath='" + cachepath + '\'' +
                ", totalLength=" + totalLength +
                ", isChecked=" + isChecked +
                ", cwId='" + cwId + '\'' +
                ", chapterId='" + chapterId + '\'' +
                ", position=" + position +
                ", isfinish=" + isfinish +
                ", videopass=" + videopass +
                ", hasqa=" + hasqa +
                '}';
    }
}
